<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>自定义字体</title>
    <style type="text/css">
        @font-face {
            font-family: 'Hard Stones Sans Strip';
            src: url('font/webfont.ttf')  format('truetype');
        }
        .custom-font {
            font-family: 'Hard Stones Sans Strip';
            font-size: 80px;
        }
    </style>
</head>
<body>
<p class="custom-font">HEAD SCRIPT</p>
</body>
</html>